package com.cx.entity;

/**
 * @ClassName: Account
 * @Description:
 * @Author: cx
 * @Date: 2022/10/20 4:09
 **/
public class Account {
    private String Username;
    private  Double money;
    private  User user;

    public Account() {
    }

    public Account(String username, Double money, User user) {
        Username = username;
        this.money = money;
        this.user = user;
    }

    public String getUsername() {
        return Username;
    }

    public void setUsername(String username) {
        Username = username;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Account{" +
                "Username='" + Username + '\'' +
                ", money=" + money +
                ", user=" + user +
                '}';
    }
}
